package com.example.teamilkmall.mapper;

import com.example.teamilkmall.entity.OrderInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author czl
 * @Date 2025-01-07
 */
public interface OrderInfoMapper {
    List<OrderInfo> listOrderInfo(@Param("pageSize") Integer pageSize, @Param("pageNum") Integer pageNum, @Param("id") Integer id);

    void updateOrderInfo(OrderInfo orderInfo);

    void deloneOrderInfo(Integer id);

    void addOrderInfo(OrderInfo orderInfo);
    List<OrderInfo> getListOrderInfo();
}
